<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象</title>
</head>
<body>

</body>
<script>
    var varObj = {
        a:1,
        fun:function () {
            console.log(this)
        }
    };
    let letObj = {
        b:2,
        fun:()=>{
            console.log(this)
            console.log(letObj);
        }
    }
</script>
</html>
